int32 mode

int32 MODE_UNSET=-1
int32 MODE_IDLE=0
int32 MODE_UNTANGLING=1
int32 MODE_NORMAL=2
int32 MODE_SINGLE_FAILURE_UNDETECTED=3
int32 MODE_DOUBLE_FAILURE_UNDETECTED=4
int32 MODE_SINGLE_FAILURE_DETECTED=5
int32 MODE_DOUBLE_FAILURE_DETECTED=6
